package com.panda.game.xls.component;

import javax.swing.*;

public class MyJLabel extends JLabel {

    public MyJLabel(String text) {
        super(text);
        MyFont font = MyFont.getInstance();
        setFont(font);
    }

    public MyJLabel(String text, Icon icon, int horizontalAlignment) {
        super(text, icon, horizontalAlignment);
        MyFont font = MyFont.getInstance();
        setFont(font);
    }
}
